export const treeTableData = {
  columns: [
    {
      title: '编号',
      key: 'id',
      width: '50px'
    },
    {
      title: '机构组织层级',
      key: 'name',
      width: '200px'
    },
    {
      title: '分类',
      key: 'type',
      minWidth: '50px'
    },
    {
      title: '主负责人',
      key: 'mainHead',
      minWidth: '50px'
    },
    {
      title: '电话',
      key: 'phone',
      minWidth: '100px'
    },
    {
      title: '人数',
      key: 'personNumber',
      minWidth: '50px'
    },
    {
      title: '状态',
      key: 'state',
      minWidth: '50px'
    },
    {
      title: '备注',
      key: 'note',
      minWidth: '200px'
    },
    {
      title: '操作',
      key: 'action',
      minWidth: '200px',
      type: 'template',
      template: 'action'
    }
  ],
  data: [
    {
      id: '1',
      name: '蓝鲸集团',
      type: '集团',
      mainHead: '董小姐',
      phone: '135999999999',
      personNumber: 100,
      state: '正常',
      note: '',
      children: [
        {
          id: '2',
          name: '华北地区',
          type: '地区',
          mainHead: '李先生',
          phone: '1358889999',
          personNumber: 50,
          state: '正常',
          note: '',
          children: [
            {
              id: '4',
              name: '上海分公司',
              type: '分公司',
              mainHead: '李红',
              phone: '13345329999',
              personNumber: 30,
              state: '正常',
              note: '',
              children: [
                {
                  id: '5',
                  name: '总裁办',
                  type: '部门',
                  mainHead: '董曦',
                  phone: '13345320099',
                  personNumber: 5,
                  state: '正常',
                  note: ''
                },
                {
                  id: '6',
                  name: '人力行政部',
                  type: '部门',
                  mainHead: '董小姐',
                  phone: '1333120099',
                  personNumber: 25,
                  state: '正常',
                  note: '',
                  children: [
                    {
                      id: '7',
                      name: '人事部',
                      type: '工作组',
                      mainHead: '李先生',
                      phone: '1333120099',
                      personNumber: 15,
                      state: '正常',
                      note: ''
                    },
                    {
                      id: '8',
                      name: '行政部',
                      type: '工作组',
                      mainHead: '李先生',
                      phone: '1333120099',
                      personNumber: 10,
                      state: '正常',
                      note: ''
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          id: '3',
          name: '华南地区',
          type: '地区',
          mainHead: '郭先生',
          phone: '13577777777',
          personNumber: 50,
          state: '正常',
          note: '',
        }
      ]
    }
  ]
}
